/**   
 * @Title: ListViewNoScroll.java 
 * @Package com.esun.util.custom 
 * @Description: (自定义Listview) 
 * @author: City Jiangsy@500wan.com   
 * @date: 2011-6-25 下午02:53:18  
 * Copyright: (C) 2011 Shenzhen E-sun Sky Net Technology Co.,ltd.
 */
package com.esun.util.custom;

/** 
 * @ClassName: ListViewNoScroll 
 * @Description: (自定义ListView,无Scrollbar) 
 * @author: City Jiangsy@500wan.com
 * @date: 2011-6-25 下午02:53:18 
 *  
 */
import com.esun.util.log.EDebug;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.ListView;

public class ListViewNoScroll extends ListView {

	public ListViewNoScroll(Context context) {
		super(context);
		// TODO Auto-generated constructor stub
	}

	public ListViewNoScroll(Context context, AttributeSet attrs) {
		super(context, attrs);
	}

	public ListViewNoScroll(Context context, AttributeSet attrs, int defStyle) {
		super(context, attrs, defStyle);
	}

	@Override
	public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
		EDebug.o(this, "=============>>>>>>>>>>>>>>>>>>>>================");
		int expandSpec = MeasureSpec.makeMeasureSpec(Integer.MAX_VALUE >> 2,
				MeasureSpec.AT_MOST);
		super.onMeasure(widthMeasureSpec, expandSpec);
	}

}
